package cn.cnhis.online.activity.main.presenter;

import java.io.File;

import cn.cnhis.online.activity.main.contract.IMainContract;
import cn.cnhis.online.activity.main.model.MainModel;
import cn.cnhis.online.base.BasePresenterJv;

/**
 * @author 刘祥龙
 * @describe
 * @date 2020/2/28  15:38
 * - generate by MvpAutoCodePlus plugin.
 */

public class MainPresenter extends BasePresenterJv<IMainContract.View, IMainContract.Model> implements IMainContract.Presenter {

    @Override
    protected IMainContract.Model createModel() {
        return new MainModel();
    }

    @Override
    public void getAppVersion(String version) {
        getModel().getAppVersion(version,getView());
    }

    @Override
    public void getMenuShowColor() {
        getModel().getMenuShowColor(getView());
    }

    @Override
    public void loadFile(File file) {
        getModel().loadFile(file,getView());
    }
}

